package com.aaa.system.service;

import com.aaa.entity.Menu;
import com.aaa.vo.Result;

import java.util.List;

public interface MenuService {

    public List<Menu> findByUserid(Long userid);

    Result<List<Menu>> getLeftMenu();

    Result<List<Menu>> getAllMenu();

    Result<List<Integer>> findByRoleId(Long roleId);

    Result<String> confirmMenu(Long roleId, Long[] menuIds);

    Result<List<Menu>> getMenuList(Menu menu);

    Result<Boolean> saveOrUpdateMenu(Menu menu);

    Result<Boolean> delOneMenu(Long menuId);
}
